-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(HardwareDetails): add platform card to tabs #710
Conversation
1d02243
to
9a2d212
Compare
class ParsedFilter(TypedDict): | ||
field: str | ||
value: Any # TODO: correctly type this field | ||
comparison_op: Literal["exact", "in", "gt", "gte", "lt", "lte", "like"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice
@@ -115,6 +128,11 @@ const TestsTab = ({ tests, trees, hardwareId }: TTestsTab): JSX.Element => { | |||
configStatusCounts={tests.configs} | |||
diffFilter={diffFilter} | |||
/> | |||
<MemoizedPlatformsCard |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
because everything is in the same div, everything is on the same column can you spread the cards between two divs here?
@@ -102,6 +110,11 @@ const BootsTab = ({ boots, hardwareId, trees }: TBootsTab): JSX.Element => { | |||
configStatusCounts={boots.configs} | |||
diffFilter={diffFilter} | |||
/> | |||
<MemoizedPlatformsCard |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto about two divs
filters are missing in the modals |
3b7e635
to
24f2277
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See if you can combine the second with the first commit. You could also split the commits into backend/frontend. The third commit is ok, it's just formatting.
24f2277
to
0142686
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Worked on my tests, LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
working nice here
- Changed `'` to `"` as it's been used through all the source code - Changed identation in function arguments and boolean expressions
0142686
to
92abc06
Compare
Closes #678
How to test
Example of Hardware Details with more than one platform (localhost)
Visual Reference